home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Files
/
FileLoop.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
599b
|
36 lines
// FileLoop.h
#ifndef FileLoop_h
#define FileLoop_h
#ifndef CatInfo_h
#include "CatInfo.h"
#endif
class FileLoop
{
private:
Directory directory;
uint16 index;
bool finished;
CatInfo info;
void GetInfo();
static DirectoryID GetDirectoryID( );
public:
FileLoop( Directory );
bool Finished() const { return finished; }
bool Unfinished() const { return !finished; }
void operator++();
void operator++(int) { operator++(); }
const CatInfo& operator*() const { return info; }
const CatInfo *operator->() const { return &info; }
};
#endif